<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
</head>
<body>
<div th:fragment="editBlock">
    <div class="module-block">
        <div class="row-fluid" id="formSearch1">
            <div class="span6">
                <div class="form-inline padding15" role="form">
                    <input type="hidden" name="guid" th:field="*{guid}"/>
                    <div class="form-group">
                        <label class="form-label" th:for="userName">用户名</label>
                        <input type="text" name="userName" th:field="*{userName}" class="form-control"/>
                        <span class="has-error" id="userName_errorMsg"/>
                    </div>
                    <div class="form-group">
                        <label class="form-label" th:for="phone">电话</label>
                        <input type="text" name="phone" th:field="*{phone}" class="form-control"/>
                        <span class="has-error" id="phone_errorMsg"/>
                    </div>
                    <div class="form-group">
                        <label class="form-label" th:for="realName">真实姓名</label>
                        <input type="text" name="realName" th:field="*{realName}" class="form-control"/>
                        <span class="has-error" id="realName_errorMsg"/>
                    </div>
                    <div class="form-group">
                        <label class="form-label" th:for="fixedPhone">固定电话</label>
                        <input type="text" name="fixedPhone" th:field="*{fixedPhone}" class="form-control"/>
                        <span class="has-error" id="fixedPhonee_errorMsg"/>
                    </div>
                    <div class="form-group">
                        <label class="form-label" th:for="email">邮箱</label>
                        <input type="text" name="email" th:field="*{email}" class="form-control"/>
                        <span class="has-error" id="email_errorMsg"/>
                    </div>
                    <div class="form-group">
                        <label class="form-label" th:for="unit">部门</label>
                        <input type="text" name="unit" th:field="*{unit}" class="form-control"/>
                        <span class="has-error" id="unit_errorMsg"/>
                    </div>
                    <div class="form-group">
                        <label class="form-label" th:for="gender">性别</label>
                        <input type="radio" name="gender" th:field="*{gender}" value="1" class=""/>先生
                        <input type="radio" name="gender" th:field="*{gender}" value="2" class=""/>女士
                        <span class="has-error" id="gender_errorMsg"/>
                    </div>
                    <div class="form-group">
                        <label class="form-label" th:for="areaName">区域</label>
                        <input type="text" name="areaName" th:field="*{areaName}" class="form-control"/>
                        <span class="has-error" id="area_errorMsg"/>
                    </div>
                    <div class="form-group">
                        <label class="form-label" th:for="estateName">小区</label>
                        <input type="text" name="estateName" th:field="*{estateName}" class="form-control"/>
                        <span class="has-error" id="estateName_errorMsg"/>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span5" id="table-btnGrounb">

                        <button type="button" id="table-add" class="table-btn"
                                th:onclick="'javascript:formSave(\'users\');'">保存
                        </button>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>